package cn.wangzg.course0401;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class ActivityThree extends AppCompatActivity {
    private static final String TAG = "----mode:";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_three);

        Log.d(TAG, "Task id: "+getTaskId()+","+toString());
    }

    public void btnOpen(View view){
        startActivity(new Intent(this, ActivityOne.class));
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d(TAG, "onDestroy: ");
    }
}
